home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / view9206.zip / VIEW.TXT < prev    next >
Text File  |  1992-05-07  |  16KB  |  314 lines

  1.                  VIEW - A SMTP Mailer for TCP/IP
  2.                           January 1991
  3.  
  4.  
  5. Introduction
  6.  
  7. View is a mailer designed to work with the networking software from Phil Karn
  8. (KA9Q).  It is a full screen system that allows you to scroll through a message file
  9. quickly and easily.  Mail can be read, or new messages created.  You have the choice
  10. of selecting your own viewer and editor programs.  This program creates the files, but
  11. it is up to the external software to view and/or edit them.
  12.  
  13. View was written in Turbo Pascal 6.0.  It can operate in color, or non-color modes. 
  14. The configuration page must be filled-in in order for View to operate correctly.
  15.  
  16. View was written by Mark Bramwell, VE3PZR, London, Ontario.  I can be reached
  17. during the day at (519) 661-3714, and at home (519) 473-3618.  View can be
  18. downloaded from the internet from HAMSTER.business.uwo.ca [129.100.22.100]. 
  19. Hamster supports anonymous FTP logins.  If you want a copy of view and have a
  20. modem, then call me at home and will make some arrangements. Feel free to send any
  21. comments regarding view to mbramwel@uwo.ca.  I can also be reached via packet by
  22. mailing to VE3PZR@VE3GYQ.
  23.  
  24.  
  25. **   A Novell network version of View is available.  The novell version uses
  26.      POSTMAN to deliver the mail.  Up to 8 servers can be served by the
  27.      POSTMAN machine.
  28.  
  29. Quick Setup
  30.  
  31. Copy VIEW.EXE to your computer.  Make sure that you have a PATH command in
  32. your AUTOEXEC.BAT so that DOS can find VIEW.EXE
  33.  
  34. If you have been using BM.EXE for mail, then the setup is simple.
  35.  
  36. If you have not been using BM.EXE, then some directories are needed.
  37. Type in the following commands:
  38.  
  39. C> MD \SPOOL
  40. C> MD \SPOOL\MAIL
  41. C> MD \SPOOL\MQUEUE
  42.  
  43. You are now ready to start View.
  44.  
  45. C> VIEW
  46.  
  47. Test Drive of View
  48.  
  49. Before you start, you must copy 3 files into your \SPOOL directory.  These files are
  50. required to use some of the functions of View.
  51.  
  52. COPY CONFIGR.EXE  \SPOOL
  53. COPY ADD-ON.EXE   \SPOOL
  54. COPY MAILBOOK.EXE \SPOOL
  55. COPY VIEW.HLP \SPOOL
  56.  
  57. When you enter View for the first time, you will have to configure it for your system. 
  58. Select the f5 function key to enter the configuration page.  Choose F1, main
  59. configuration.  Most items should be filled.  Here is an example of some of my
  60. responses:
  61.  
  62.  
  63.  
  64.            Userid:  Mark
  65.            Hostname: HAMSTER.business.uwo.ca
  66.            Realname: Mark Bramwell
  67.  
  68.            Reply-To: mbramwel@uwo.ca
  69.  
  70.            editor: \util\qe.exe
  71.            viewer: \util\list.com
  72.  
  73.            Comments:
  74.            Signature: \spool\signatur.txt
  75.  
  76.            directory: \spool\mail         25+: Y  DirMask: *.TXT
  77.            Color: Y    Timezone: EST   Filter: Y  Printer: LPT1
  78.  
  79.  
  80.  
  81. Remember to hit enter with each entry.  When you have filled in the configuration page, hit ESC to save
  82. it.  View will resave the configuration each time you exit the config screen.  
  83.  
  84. Some messages will appear on the screen if you had mail waiting.  If no mail is waiting, then a short
  85. message will appear on the screen.
  86.  
  87. To read a message, use the arrows keys on the keyboard to move the highlight bar.  When the desired
  88. message is highlighted, hit ENTER to read the message.
  89.  
  90. Configuration:
  91.  
  92. In order to use VIEW, you must fill-in the configuration page.  It is this info that tells the mailer who
  93. you are, where you are, and what type of equipment that you are using.  The Gateway setup is only
  94. required if you intend on sending email through a gateway.  Gateways are being setup to allow hams to
  95. send mail through the Internet system.
  96.  
  97. USERID:  This is the userid that will be used for all outgoing mail.  VIEW
  98.          will read the mailfile for this userid whenever you start VIEW.
  99.            Example:  MARK
  100.  
  101. HOSTNAME:This is the hostname used by view and should be the same as the
  102.          hostname set in AUTOEXEC.NET.   My hostname at the
  103.          university is HAMSTER.Business.UWO.CA, but at home it is
  104.          VE3PZR.ampr.org
  105.            Example:  VE3PZR.ampr.org
  106.  
  107. REALNAME:The name that your mother gave to you when you were born (or
  108.          close to it).  The mailer simply inserts this info into the outgoing
  109.          mail header. (This entry is optional).
  110.            Example: Mark Bramwell
  111.  
  112. Reply-To:Sometimes your incoming mailbox might have a different name
  113.          than the userid used to send the original message.  This allows you
  114.          to specify where you want mail to go if someone replies to one of
  115.          your messages.  (This entry is optional.)
  116.            Example:   mark@ve3pzr.ampr.org
  117.  
  118. EDITOR:  The full dos path and filename of the program that you want to
  119.          use to create messages.  This entry must be filled in order to send
  120.          outgoing mail.  It is not required to read mail.
  121.            Example: c:\util\qe.exe
  122.  
  123. VIEWER:  The full dos path and filename of the program that you want to
  124.          use to read messages.  If no filename is specify, then view will use
  125.          a very simple built-in message reader.
  126.            Example:  c:\util\list.com
  127.  
  128. COMMENTS:This allows you to place a comment in the header of all outgoing
  129.          mail messages.  It can be almost anything, and is ignored by the
  130.          mailer.
  131.            Example: I like my MTV
  132.  
  133. SIGNATURE:The full dos path and filename of a text file that you want to be
  134.          your signature file.  The signature file is appended to the end of all
  135.          outgoing mail messages.  Some people like putting cute phrases,
  136.          while others simply put there name, address, phone number where
  137.          they can be reached.  (This entry is optional.)
  138.            Example:  C:\mystuff\signatur.txt
  139.  
  140. DIRECTORY:The full dos path where your mail files your stored.  If you are
  141.          using KA9Q NOS, then this should be set to \SPOOL\MAIL
  142.  
  143.       25+:            If you have an ega/vga system, then setting this to yes will give
  144.          you more than 25 lines per screen.  This entry does not effect cga
  145.          or TTL monochrome monitors.
  146.  
  147. DIRMASK: DOS wildcard description of your mail files.  For most people,
  148.          this setting should be *.TXT.
  149.  
  150. COLOR:   If you have a color monitor, then set this to yes.  VIEW uses
  151.          slightly different patterns if this is set to Yes.  Try both to see
  152.          what you like.  If you set it to 'A', view will try to determine the
  153.          type of monitor you are running, and set the color on/off as
  154.          required.
  155.  
  156. TIMEZONE:Where are you?  I am in the timezone called EST (Eastern
  157.          Standard Time).  
  158.  
  159. FILTER:  Setting this to Yes will cause VIEW to filter out alot of useless
  160.          header info.  This header info gets generated when mail passes
  161.          from machine to machine.  This entry was created because I was
  162.          tired of reading 1 line messages with 15 lines of headers.
  163.  
  164. PRINTER: Which printer do you want VIEW to use to print messages?  I use
  165.          LPT1 on my computer.  VIEW closes the print job after every
  166.          message allowing it to print on Novell networks without
  167.          difficulties.
  168.  
  169.  
  170. On the gateway setup screen....   (Stand-alone version only)
  171.  
  172.  
  173. GATEWAY: Hostname of a machine that will accept your mail and push it
  174.          onto the Internet or other mail system.
  175.  
  176. FORCE:   If set to 'YES', then all mail will be directed to the gateway host. 
  177.          If set to 'NO', then you will need to use Shift-F2 to push mail
  178.          through the gateway.
  179.  
  180. The configuration is stored in a file called \SPOOL\MAILER.CFG.  You can use a normal editor to
  181. view the file.  The first word on each line is a keyword or command for VIEW.  Unknown keywords are
  182. ignored.
  183. Special Keys
  184.  
  185. Certain keys have functions assigned to them.  For example, you can move the hi-lited bar by using the
  186. following keys:  Arrow up, Arrow down, Home, End, PgUp, PgDn.  
  187.  
  188. You can mark messages for deletion with the DEL key.  
  189.  
  190. ALT-A Add-on manager.  This will allow you to run external programs from within the mailer. 
  191. Programs can be assigned to any key on the keyboard.  Hitting that key will cause the program to
  192. execute.  The add-on manager is simply a method of running programs without shelling to dos.
  193.  
  194. ALT-C The credits.
  195.  
  196. ALT-D allows you to jump to DOS without exiting view.  When you type EXIT
  197. at the dos prompt, you will be returned to VIEW at the same point that you left.  This is usefull when
  198. you are reading large files and it takes a long time for view to read-it-in.  
  199.  
  200. ALT-F is the full display key.  It opens a window at the bottom of the screen that will display the full
  201. hostname and subject of the current message.  It can be toggled on and off and the mode is save in the
  202. configuration.  This is stored in the config file as LINEMODE.
  203.  
  204. ALT-P will print the highlighted message on your printer.  Check config page to ensure that you have the
  205. printer defined.
  206.  
  207. ALT-S will allow you to save the current message to a file.  View will ask for a filename.  The message
  208. will be read and stored in that file.  This will not erase the file if it already exists.  View appends messages
  209. to the file if it already existed on your disk.
  210.  
  211. ALT-U is the update key, and forces view to immediately update the file by removing marked messages. 
  212. View automatically updates the file whenever you have finished reading the file and have selected another
  213. file.  You can also setup View to automatically update the screen when new mail arrives.  This is done
  214. through the configuration menus.
  215.  
  216. ALT-X is the same as f3.  This simply exits view completely.
  217.  
  218. ALT-Z reads the current mail file and checks for EOF markers.  I have found that our IBM 4381 sticks
  219. control-z characters in mail files.  This causes view mailer to think it is at the end of file even though
  220. there are more messages waiting.  All messages after control-z characters are lost.  I would make this
  221. routine run all the time except for the fact that it slows down the initial mail file reading.  Packet radio
  222. mail, and mail directly from the internet does not seem to have this problem.
  223.  
  224. / pops up a menu.  Most functions of View can be accessed either through the menu, or by using the
  225. function keys.  Using VIEW
  226.  
  227. f1:Help.  This displays a simple help screen for those who can't remember some of the
  228.   special keys.
  229.  
  230. f2:Compose.  This will allow you to create and send your own messages.  You must enter
  231.   something when View asks for 'To:'.  If you just hit enter, then the creation of the
  232.   message is aborted and you are returned back to the normal screen.  It is not neccessary
  233.   for you to enter anything in response to 'subject:'.  
  234.  
  235.   You must have previously configured View in order for it to find your editor program.
  236.  
  237. f3:Quit.  This exits Views, updates any messages that were deleted, and returns you to DOS.
  238.  
  239. f4:Print Msg.  This will print the current message to the printer.
  240.  
  241. f5:Configure.  Allows you to specify various items about your machine.  This screen must
  242.   be filled-in, else some of the functions won't work properly.  All info is stored in the
  243.   \SPOOL\MAILER.CFG config file.
  244.  
  245. f6:Split Digests / Read as mail.  (Stand-alone version only) This interesting function has the
  246.   ability to read mail as normal messages, or try to split a long message into its' smaller
  247.   parts.  I use this when I receive the info-hams digest.  This takes the 400 line message,
  248.   and breaks it up into all the smaller messages.  It displays each host and subject
  249.   separately.  This allows me to read only those messages that I am interested in, and
  250.   ignore the rest.  This function can be toggled on/off and is stored in the MAILER.CFG
  251.   file as MAILMODE.
  252.  
  253. f7:Select file.  This allows you to specify another .TXT file as your workfile.  For example: 
  254.   I have all info-hams mail come into my machine under the userid HAMRADIO.  All
  255.   packet mail comes in for the userid PACKET.  This creates 3 files on my machine 
  256.   HAMRADIO.TXT, PACKET.TXT, and MARK.TXT.  Using select, I can choose
  257.   which information I am interested in reading at this time.  Any marked messages are
  258.   deleted before the new file is read.
  259.  
  260. f8:Transfer.  This will allow you to UUENCODE binary files.  When the file is encoded,
  261.   you can email the file to someone even if the gateways don't support binary files.
  262.  
  263. f9:Forward a Message.  This will read the current message and allow you to forward it to
  264.   someone else.  I use this to send a copy of interesting mail to my home machine. 
  265.  
  266. f10:Reply-to.  This will create a message using the hostname, subject, and text of the hi-lited
  267.   message.  It allows you to reply to a message that you are reading.
  268. EGA/VGA monitor support:
  269.  
  270. You can now have more than 25 lines on the screen when using view.  If you have an ega or vga system,
  271. you set view for the larger text window.  Set the 25+ parameter in the configuration page to Y.  You will
  272. now have 43 lines on an ega system, and 50 on a vga system.  All functions will resize themselves to work
  273. on the larger window.  The larger text window can be in color or black&white.
  274.  
  275. MOUSE support:
  276.  
  277. You can use a mouse to make selections while in view.  Moving the mouse causes the screen to scroll
  278. up/down.  The Left button reads the current message, while the Right button brings pops up a menu.  
  279.  
  280. SMTP Packet <> Internet Gateways (Stand-alone version)
  281.  
  282. View has the capability to push mail onto an Internet gateway.  At first this would not seem like a big
  283. deal, however there are some problems in doing this.  First of all, most hams have the hostname 
  284. CALLSIGN.ampr.org.  Unfortunately, most Internet sites don't know about most ampr.org sites.  People
  285. on the Internet can't get a mail path to you.  One solution is to have the local Internet guru setup an
  286. alias on a 'known' machine to point to you.  People on the Internet can send email to the alias (which is
  287. on a know machine), and the host will resend the mail to your home machine.  This is quite easy to do.  
  288.  
  289. What happens if someone tries to 'reply' to your messages, or if your mail gets bumped by the Internet. 
  290. It is possible (and most likely) that the message will get lost or just go around in circles until someone
  291. kills it.  VIEW allows your mail to take on the identity of that alias when you send mail through the
  292. gateway.  Normally you would use F2 to send mail.  If you use Shift-F2, then the message will be created
  293. using information from the gateway setup instead of the main configuration.
  294.  
  295. For example:  My home email id is:   mark@ve3pzr.ampr.org
  296. However, if you send email to  ve3pzr@hamster.business.uwo.ca, it will be resent to my home machine. 
  297. I want the local hams to send email to my home machine, but want the Internet community to send
  298. through hamster.  The gateway setup allows my machine to appear differently to each group of users.
  299.  
  300. ADD-ON Manager
  301.  
  302. What exactly is the add-on manager?
  303.  
  304. ADD-ON is a part of View that allows you to specify DOS programs to work with View.  It is simply a
  305. fancy dos shell interface.  Anything that can be ran from dos, should be able to run from within View.  I
  306. have written some programs that I call 'View compatible'.  These programs will behave slightly different
  307. in screen handling when called from within View, instead of being executed from the DOS prompt.
  308.  
  309.  
  310. NOVELL SUPPORT
  311.  
  312. There is a novell network version of View available.  This allows up to 8 servers to be served from an
  313. utility mailer machine, and allows novell users to send mail onto the Internet (a SMTP server is required). 
  314.  POSTMAN.EXE is required to deliver any mail on the LAN.